package com.button.sharding.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.button.sharding.pojo.User;

@RequestMapping(value = "/user", produces = "application/json;charset=UTF-8")
public interface UserController {
	
	@RequestMapping(value = "/saveUser", method={RequestMethod.POST, RequestMethod.GET})
    void saveUser();
	
	@RequestMapping(value = "/selectUser", method={RequestMethod.POST, RequestMethod.GET})
    User selectUser(Integer userId);
}
